3.2148 \(\int \frac{(a+b \sqrt{x})^5}{x^3} \, dx\)

Optimal. Leaf size=66 \[ -\frac{10 a^3 b^2}{x}-\frac{20 a^2 b^3}{\sqrt{x}}-\frac{10 a^4 b}{3 x^{3/2}}-\frac{a^5}{2 x^2}+5 a b^4 \log (x)+2 b^5 \sqrt{x} \]

[Out]

-a^5/(2*x^2) - (10*a^4*b)/(3*x^(3/2)) - (10*a^3*b^2)/x - (20*a^2*b^3)/Sqrt[x] + 2*b^5*Sqrt[x] + 5*a*b^4*Log[x]

________________________________________________________________________________________

Rubi [A]  time = 0.0306667, antiderivative size = 66, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.133, Rules used = {266, 43} \[ -\frac{10 a^3 b^2}{x}-\frac{20 a^2 b^3}{\sqrt{x}}-\frac{10 a^4 b}{3 x^{3/2}}-\frac{a^5}{2 x^2}+5 a b^4 \log (x)+2 b^5 \sqrt{x} \]

Antiderivative was successfully verified.

[In]

Int[(a + b*Sqrt[x])^5/x^3,x]

[Out]

-a^5/(2*x^2) - (10*a^4*b)/(3*x^(3/2)) - (10*a^3*b^2)/x - (20*a^2*b^3)/Sqrt[x] + 2*b^5*Sqrt[x] + 5*a*b^4*Log[x]

Rule 266

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a
+ b*x)^p, x], x, x^n], x] /; FreeQ[{a, b, m, n, p}, x] && IntegerQ[Simplify[(m + 1)/n]]

Rule 43

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rubi steps

\begin{align*} \int \frac{\left (a+b \sqrt{x}\right )^5}{x^3} \, dx &=2 \operatorname{Subst}\left (\int \frac{(a+b x)^5}{x^5} \, dx,x,\sqrt{x}\right )\\ &=2 \operatorname{Subst}\left (\int \left (b^5+\frac{a^5}{x^5}+\frac{5 a^4 b}{x^4}+\frac{10 a^3 b^2}{x^3}+\frac{10 a^2 b^3}{x^2}+\frac{5 a b^4}{x}\right ) \, dx,x,\sqrt{x}\right )\\ &=-\frac{a^5}{2 x^2}-\frac{10 a^4 b}{3 x^{3/2}}-\frac{10 a^3 b^2}{x}-\frac{20 a^2 b^3}{\sqrt{x}}+2 b^5 \sqrt{x}+5 a b^4 \log (x)\\ \end{align*}

Mathematica [A]  time = 0.0317971, size = 66, normalized size = 1. \[ -\frac{10 a^3 b^2}{x}-\frac{20 a^2 b^3}{\sqrt{x}}-\frac{10 a^4 b}{3 x^{3/2}}-\frac{a^5}{2 x^2}+5 a b^4 \log (x)+2 b^5 \sqrt{x} \]

Antiderivative was successfully verified.

[In]

Integrate[(a + b*Sqrt[x])^5/x^3,x]

[Out]

-a^5/(2*x^2) - (10*a^4*b)/(3*x^(3/2)) - (10*a^3*b^2)/x - (20*a^2*b^3)/Sqrt[x] + 2*b^5*Sqrt[x] + 5*a*b^4*Log[x]

________________________________________________________________________________________

Maple [A]  time = 0.002, size = 57, normalized size = 0.9 \begin{align*} -{\frac{{a}^{5}}{2\,{x}^{2}}}-{\frac{10\,{a}^{4}b}{3}{x}^{-{\frac{3}{2}}}}-10\,{\frac{{a}^{3}{b}^{2}}{x}}+5\,a{b}^{4}\ln \left ( x \right ) -20\,{\frac{{a}^{2}{b}^{3}}{\sqrt{x}}}+2\,{b}^{5}\sqrt{x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+b*x^(1/2))^5/x^3,x)

[Out]

-1/2*a^5/x^2-10/3*a^4*b/x^(3/2)-10*a^3*b^2/x+5*a*b^4*ln(x)-20*a^2*b^3/x^(1/2)+2*b^5*x^(1/2)

________________________________________________________________________________________

Maxima [A]  time = 0.966082, size = 77, normalized size = 1.17 \begin{align*} 5 \, a b^{4} \log \left (x\right ) + 2 \, b^{5} \sqrt{x} - \frac{120 \, a^{2} b^{3} x^{\frac{3}{2}} + 60 \, a^{3} b^{2} x + 20 \, a^{4} b \sqrt{x} + 3 \, a^{5}}{6 \, x^{2}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*x^(1/2))^5/x^3,x, algorithm="maxima")

[Out]

5*a*b^4*log(x) + 2*b^5*sqrt(x) - 1/6*(120*a^2*b^3*x^(3/2) + 60*a^3*b^2*x + 20*a^4*b*sqrt(x) + 3*a^5)/x^2

________________________________________________________________________________________

Fricas [A]  time = 1.51722, size = 147, normalized size = 2.23 \begin{align*} \frac{60 \, a b^{4} x^{2} \log \left (\sqrt{x}\right ) - 60 \, a^{3} b^{2} x - 3 \, a^{5} + 4 \,{\left (3 \, b^{5} x^{2} - 30 \, a^{2} b^{3} x - 5 \, a^{4} b\right )} \sqrt{x}}{6 \, x^{2}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*x^(1/2))^5/x^3,x, algorithm="fricas")

[Out]

1/6*(60*a*b^4*x^2*log(sqrt(x)) - 60*a^3*b^2*x - 3*a^5 + 4*(3*b^5*x^2 - 30*a^2*b^3*x - 5*a^4*b)*sqrt(x))/x^2

________________________________________________________________________________________

Sympy [A]  time = 0.906333, size = 65, normalized size = 0.98 \begin{align*} - \frac{a^{5}}{2 x^{2}} - \frac{10 a^{4} b}{3 x^{\frac{3}{2}}} - \frac{10 a^{3} b^{2}}{x} - \frac{20 a^{2} b^{3}}{\sqrt{x}} + 5 a b^{4} \log{\left (x \right )} + 2 b^{5} \sqrt{x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*x**(1/2))**5/x**3,x)

[Out]

-a**5/(2*x**2) - 10*a**4*b/(3*x**(3/2)) - 10*a**3*b**2/x - 20*a**2*b**3/sqrt(x) + 5*a*b**4*log(x) + 2*b**5*sqr
t(x)

________________________________________________________________________________________

Giac [A]  time = 1.11602, size = 78, normalized size = 1.18 \begin{align*} 5 \, a b^{4} \log \left ({\left | x \right |}\right ) + 2 \, b^{5} \sqrt{x} - \frac{120 \, a^{2} b^{3} x^{\frac{3}{2}} + 60 \, a^{3} b^{2} x + 20 \, a^{4} b \sqrt{x} + 3 \, a^{5}}{6 \, x^{2}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*x^(1/2))^5/x^3,x, algorithm="giac")

[Out]

5*a*b^4*log(abs(x)) + 2*b^5*sqrt(x) - 1/6*(120*a^2*b^3*x^(3/2) + 60*a^3*b^2*x + 20*a^4*b*sqrt(x) + 3*a^5)/x^2